import http from "./http";

const categories = () => http.get('/categories')

const search = (params) => {
  return http.get('/search', {
    params
  });
}

export default {
  categories,
  search
};